import Vue from 'vue'
import Router from 'vue-router'
// import Main from '@/views/Main'
import Index from '@/views/Index'
import BusinessCard from '@/views/BusinessCard'
import Broadband from '@/views/Broadband'
import SelfHelp from '@/views/SelfHelp'
import Community from '@/views/Community'
import PreOrder from '@/views/PreOrder'

import OrderAdd from '@/views/OrderAdd'
import OrderAddFor98 from '@/views/OrderAddFor98'
import OrderSearch from '@/views/OrderSearch'


import Result from '@/views/Result'

import Project from '@/views/Project'
import ProjectMgr from '@/views/ProjectMgr'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index     
    },
    {
      path: '/business-card',
      name: 'BusinessCard',
      component: BusinessCard     
    },
    {
      path: '/broadband',
      name: 'Broadband',
      component: Broadband     
    },
    {
      path: '/self-help',
      name: 'SelfHelp',
      component: SelfHelp     
    },
    {
      path: '/community',
      name: 'Community',
      component: Community     
    },
    {
      path: '/pre-order/:type',
      name: 'PreOrder',
      component: PreOrder     
    },
    {
      path: '/order-add',
      name: 'OrderAdd',
      component: OrderAdd     
    },
    {
      path: '/order-add-98',
      name: 'OrderAddFor98',
      component: OrderAddFor98     
    },
    {
      path: '/order-search',
      name: 'OrderSearch',
      component: OrderSearch     
    },
    {
      path: '/project',
      name: 'Project',
      component: Project
    },
    {
      path: '/project-mgr',
      name: 'ProjectMgr',
      component: ProjectMgr
    },
   
    {
      path: '/result',
      name: 'Result',
      component: Result
    },
   
    
  ]
})
